package com.clt.ess.service;

import com.clt.ess.CABeen.*;

public interface ICAService {

    CheckResultPackage getCertFormCA(String OrganizationName, String CommonName, String certType, String publicKey
            , String NotBefore, String NotAfter);

    String revokeFormCA(String serialNumber);

    CheckResultPackage changeCertFormCA(String serialNumber, String certType, String organizationName, String commonName, String subjectPublicKeyInfo);

    CheckResultPackage delayCertFormCA(String serialNumber, String subjectPublicKeyInfo);

    String applyServiceRandom(String random);

    ApplySealCertResponse applySealCert(ApplySealCertRequest applySealCertRequest);

    RevokeSealCertResponse revokeSealCert(RevokeSealCertRequest revokeSealCertRequest);

    ChangeSealCertResponse changeSealCert(ChangeSealCertRequest changeSealCertRequest);

    DelaySealCertResponse delaySealCert(DelaySealCertRequest delaySealCertRequest);

}
